package com.plian.system.entity.yth.meet;

import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.system.entity.yth.YthBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 三重一大议题事项关联表
 * </p>
 *
 * @author ws.liu
 * @since 2022-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("conference_topic_event")
@ApiModel(value = "ConferenceTopicEvent对象", description = "三重一大议题事项关联表")
@AllArgsConstructor
@NoArgsConstructor
public class ConferenceTopicEvent extends YthBaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "议题ID")
	private Long topicId;

	@ApiModelProperty(value = "事项ID")
	private Long eventId;

	@ApiModelProperty(value = "前序会议ID")
	private Long lastMeetingId;

	@ApiModelProperty(value = "前序会议名称")
	private String lastMeetingName;

	@ApiModelProperty(value = "是否通过")
	private Integer isPass;

	@ApiModelProperty(value = "补充意见")
	private String rejectReason;


	public ConferenceTopicEvent(Long topicId, Long eventId) {
		this.topicId = topicId;
		this.eventId = eventId;
	}

	public ConferenceTopicEvent(Long id, Integer isPass, String rejectReason) {
		this.setId(id);
		this.isPass = isPass;
		this.rejectReason = rejectReason;
	}

	public ConferenceTopicEvent(Long topicId, Long eventId, Integer isPass, String rejectReason) {
		this.topicId = topicId;
		this.eventId = eventId;
		this.isPass = isPass;
		this.rejectReason = rejectReason;
	}



}
